﻿using YNTK.Common.Const;
using SqlSugar;

namespace YNTK.Employees.Entitys.Entity
{
    /// <summary>
    /// 员工技术职称证书
    /// </summary>
    [SugarTable("employees_technicalcertificates")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class TechnicalCertificateEntity
    {
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", ColumnDescription = "id")]
        public string Id { get; set; }

        /// <summary>
        /// 员工id
        /// </summary>
        [SugarColumn(ColumnName = "F_EmployeeId", ColumnDescription = "员工id")]
        public string EmployeeId { get; set; }

        /// <summary>
        /// 证书分类
        /// </summary>
        [SugarColumn(ColumnName = "F_Classify", ColumnDescription = "证书分类")]
        public string Classify { get; set; }

        /// <summary>
        /// 证书名称
        /// </summary>
        [SugarColumn(ColumnName = "F_CertificateName", ColumnDescription = "证书名称")]
        public string CertificateName { get; set; }

        /// <summary>
        /// 证书编号
        /// </summary>
        [SugarColumn(ColumnName = "F_CertificateNo", ColumnDescription = "证书编号")]
        public string CertificateNo { get; set; }

        /// <summary>
        /// 发证机关
        /// </summary>
        [SugarColumn(ColumnName = "F_LicenseIssuingAgencies", ColumnDescription = "发证机关")]
        public string LicenseIssuingAgencies { get; set; }

        /// <summary>
        /// 发证日期
        /// </summary>
        [SugarColumn(ColumnName = "F_ReleaseDate", ColumnDescription = "发证日期")]
        public DateTime? ReleaseDate { get; set; }

        /// <summary>
        /// 证书有效期
        /// </summary>
        [SugarColumn(ColumnName = "F_PeriodValidity", ColumnDescription = "证书有效期")]
        public string PeriodValidity { get; set; }

        /// <summary>
        /// 查询网址
        /// </summary>
        [SugarColumn(ColumnName = "F_QueryUrl", ColumnDescription = "查询网址")]
        public string QueryUrl { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]
        public string Description { get; set; }

        /// <summary>
        /// 证书照片服务器存储路径
        /// </summary>
        [SugarColumn(ColumnName = "F_CertificateFilePath")]
        public string CertificateFilePath { get; set; }
    }
}
